
public class Klassrob2 {

	public static void main(String[] args) {
		String s = "JAVA DEVELOPER";
		
		String result = "";
		
		int i = 0;
		
		do{
			
			switch(i){
			case 1:
			case 3:
			case 7:
			case 8:
			case 9:
				result += "*";
				break;
			
			case 4:
				result += result;
				
			default:
				result += s.charAt(i);
			}
			
		}while(++i < s.length());
			System.out.println(result);

	}

}
